import request from '@/utils/request'
import Vue from 'vue'
// 获取订单列表
export const queryOrderList = data => {
    return request({
        url: Vue.prototype.$api.orderdeliver.index,
        method: 'post',
        data,
    })
}
// 获取订单详情
export const queryOrderDetail = data => {
    return request({
        url: Vue.prototype.$api.orderdeliver.find,
        method: 'post',
        data,
    })
}
// 订单导出
export const exportOrder = data => {
    return request({
        url: Vue.prototype.$api.orderdeliver.export,
        method: 'post',
        data,
        responseType: 'blob',
    })
}
